added secondary check to the access_temp collection if data also exists there