Unnecesary query discarded