Check for exact matching session keys before splitting into path segments. Adds backwards-compatibility after commit f0a7159c