Fix #compiled_router not working well.

Condition was inappropriate, so fixed it.