Format condition correctly