Improved check if there are tickets without a ranking

Partially fix for issue #14. 

PS: I didn't have the chance to test this as thoroughly as I'd like, but I'm pretty confident that it works :)