Fix for issue #99 - do not initialise qonsole with selection query if not defined