Application hard crashes query.