Fixes pattern match to intercept normal flow.