fixed list popping leaving bad data
fixed list popping leaving bad data

Popping a list with 1 item would not clear the its "last" property,
potentially causing odd behaviour such as infinite loops in future list
methods.

notwa/xyz123