Fix for single site installs, where blog_id was being set to 0