Removed the debugging printf
Make the static items test case pass
Move $num_per_page up and remove the comment about needing to adjust for the initial post (all evidence says the original formula was wrong and we should not adjust)