Fixed false if condition