Fix stat wildcard listing bug