Fixed issues with fields retaining their red borders after being validated