Fix the registration delete.