Fix route validation

- validation on changing the route's space was not correctly checking whether
any apps in the space were already mapped to it

[#77254778]