fix bug - was mishandling $wgContributorsLimit when using non-default sort

Change-Id: I8b30dcfd77cdf62f840e1795660b3da0a3bdd218