Fix batch_size call

If .to_f isn’t called, (notifications.size / num_dispatcher_loops) can
be 0, which breaks in_groups_of
Merge pull request #1 from kyleslattery/fix-ceil-call

Fix batch_size call