Fix bug where nil block can be called if the syncAllResult was NO