If value is not array, this code will do nothing.