Possible bug in list handling?