Load all routes when matching an ocs route

Fixes #8020 

cc @tomneedham @DeepDiver1975