Limit ghc-mod to 3.1.6 or 3.1.7