List add bugs

Fixes issue #27