Routing condition bugfix

[Routing] Fixed inheriting of condition to sub routes for xml and yaml configuration.