Fixing return type from matchkeys on archives