Fix potential NPE in multi_percolate