Fix iteration over the properties