Scratch that, I see what’s going on. If the page number is 2, the code decreases that by 1, but it doesn’t return the parameter as 1, it returns as null so you end up with ‘edit-comments.php?page=akismet-admin&apage=’
The select statement doesn’t like having the apage variable fed to it as null; if it’s not set it sets it to 1, but if it’s fed it uses (that-1) * 50 for the start and start+50 for the end. Null is like 0, so (0-1)*50=-50
It’s damn same my php skills aren’t up to scratch, otherwise I’d be able to understand lines 388 and 458 of akismet.php better