Bug fix to getting length of .grp file-based halo catalogues