fix Routing incorrectly matches documents issue and fix for #63