Made duplicate API path check smarter

* Path checks are no longer verbatim and check for equivalency

Part 1 of issue #6