Mask mode: Fix progress count for node/fork/MPI. See #771