Fix manifest cache array. Closes #1840