Bug, should check key and not value
Set payment type to NULL if FALSE when saving registration

otherwise it ends up as 0 in database