Fix comment page logic

Links where comments_per_page == comment location were resulting in
off-by-one logic errors. Links now act as expected.