Fix crash with no properties