Skip null/undefined inside <Locations> to allow ternaries in route definitions.