Change registration_ids helper to receive excluded users