Fix known bug to match /foo/bar/* properly

/foo/bar was matching *bar*. It should match ^bar*, and now does