When displaying the title, check if the title is an array, and if so just display the first element.
Adds back in the pagination code in the index action.