Fix conditional if