Fix batch_size call

If .to_f isn’t called, (notifications.size / num_dispatcher_loops) can be 0, which breaks the `in_groups_of` call