Add security sanity check for update and delete tickets