Articles: Fix bad pagination on empty pages