Fixed match to align with dir syntax.