Account for an incomplete path in path validator split_path() function.
Fix tag node handling in path validator and session.
Adjust tests.