URL_CANONICAL searches now prefer exact url matches when possible.
Eliminated code redudancies and updated comments/javadoc