Fix attriibutes query installation