Added extra validation to visits created by the registration app to prevent dates in the future