Fixed the asBool for arrays