That seems like a good fix, I didn't consider what would happen with the directory match.