fixes bug with dependencies using approximately greater than and a major version only