Added an upper bound on the requirement

Unbound constraints are evil (the current code is unlikely to be compatible with all future major versions)