Fix downloads pagination