Fix registrations controller bug