Fix a bug in iwd that prevents stores from working properly