Made duplicate API path smarter

* Path checks are no longer verbatim and check for equivalency

Part 1 of issue #6