Issue #35 Fix the $batcache::query "undefined property" notice.

As described in the Issue, as the property is not set somewhere in the script, the if generates the notice of undefined variable.

With the if statement, the notice, obviously, disappears.