Fixes for news check

Fixes the problem where checking if there are any news posts would run an invalid query and generate an error.