1.2.0: Fixes for potential query without data; updates to query syntax, removed session call for cron job page