Fixed sky condition logic.