Clear query array