I just committed a fix for this. Based on my past work here, you better test it carefully ;-)
BTW Please report certain bugs like this in JIRA, especially if the relevant issues is still open. The turnaround is faster
Thanks for your fix. i see isEmpty function. That's good.I was a new register user and i'm from china.I can't register to JIRA as so slow network.I'll try some other day.