Fix list item parsing