fix querying for all content types

fixes #9