Fixed if condition ast