Fixed issues where the input pattern doesn't match the Flight generated route pattern