Corrections about build_validation_message() helper function.