Fix Image Versioning Condition