Fix typo in array minimisation.