Fixed missing condition-check [ci skip]