Fixed registration validation.