Fix patch version handling.