[scm] Fix error when counting merges in developers page