Thanks for reporting this issue!
You are right, this is incorrect behavior for CSS selectors, yet necessary for XPath selectors generated by browsers (although not responsibility of the parser). The reason for this is that browsers add the 'tbody' element to tables which don't have it, while the raw document stays untouched (that is what you'd normally pass to the parser).
This is fixed in [f24dd8] by removing the offending line. Existing selectors must be updated (remove 'tbody') in order to maintain the previous state. Otherwise results may change (i.e. element not found or index suddenly points to the wrong item).