Fixed archive matching bug