templates: fixed a pagination error for alphabetic and theme concepts views.