Added a missing integer cast

For some reason splitting with a string instead of an integer worked: the system was simply not splitting and generating a single task, but all tests were green. The issue is that calculator was not parallel and thus slow.

The tests are green https://ci2.openquake.org/job/zdevel_oq-engine/413