Fix wrong condition in f671834