Bug fix: Routing precedence (Issue #313)