Refs #154, changed queryFailureListener's parameter