Fixing an issue with arrays.