Reverted an incorrect change to savedqueries