Field is showing despite the condition met