Fix edge case where public route wasn't using urlPrefix