Ms error fix

Fix for #358 when not in multisite.