Fix for ASK queries