Fix: Zero set size issue with partitioning

There was a problem with partitioning in Volna: when a partition had no elements from a set, the execution failed. This fix solves that problem.