Prevent exception on null cache entries