Improved version constraint