Fixed version constraints

See my comments on your previous commit.