Fixed error when array is not loaded because it's in table