#6499: Use array_slice correctly.
Merge pull request #6635 from openscholar/6499-num_taxo_terms

Use array_slice correctly.