Fixing the queries.
Merge branch 'develop' of https://github.com/gocal/upnext-wp-logger into develop