Translating fails for long paths, for example:
The error given is that the path is not found in the database.
Paths which contain repeated nodes were failing a sanity check during update. We'll circumvent this by removing cycles in the path before update.
Fixes #6 by removing cycles in paths before update.