Fixed undefined filterUnits