wrong condition.
Merge pull request #1531 from kaltura/IX-9.19.1-Delivery-profile-optimizations

wrong condition.