Fix a knot-tying bug with ghc --make