Fixing some bugs and handling map and reduce errors on followers