News Check Function

Fixes an error where instead of running a MySQL syntax correct query, it
would run a bad query which would generate an error.