Do not allow to set imageArrayKeys if it isn't an array.