Fix range comparison bug.
Merge branch 'mmDev' of github.com:mgijax/intermine into mmDev