fixing hasFactors to properly look at properties