Fixed heuristic (targetting opam-rt)
Merge pull request #1527 from OCamlPro/fix-trim

Fixed small bug in the heuristic (targetting opam-rt)