Add resolution of #where from queryCache when queries have previously been made