Added clearing of validation messages