rating bugfix

you can now query entries without ratings when sorting by rating