Save all PermQueries and PropQueries as lower case