Bug fixes; Both #search and #searchIndex return arrays of the repo type now