Fixed some issues with pagination counts on the MainForm introduced by using the wrong count variable from an earlier tweak.