Fix handling of lists in nested properties