Fix bug with list property parsing.

Fixes #1