OPAL-1874: Creating a new array when array of existing variables is null