Form Condtions is behaving inconsistently