Resolved the bug where editing a slug would result in an exception.