Fixing multi-store code for the 301 plugin.