Added views function to delete a saved query