Fix whatProvides returning too many results when no constraint is given