Fixed #5 Global queries allowed to select