QA-5581 : fix loop in property type lookup