Fix the idempotentency problem with TeoriaInterval#direction(dir). Fixes #38