Correct possible string casting error
Update comment
Allow attrgetter to call intermediate attributes
Fixes issue with bad True/False detection