Stop exception from recordCollection when trying to use as array