Adding the callback for NOT_FOUND to execute the query on Magma (when querying with a transient variable)