Fix bug in getting property values on a list