[haskell/en] Fixes issue #510