Fixes issue with runtime cache provider when retrieving all items of a certain type, we were sending back an array of nulls if the  cache was expired.