Optimize combineAsArray availability checking