[Resolver] Fix realworld edgecases spec on 1.8.7 due to a hash collision