Fix route match for static paths