List, GroupedList: more fixes for 'This List is in an unrecoverable state' errors (closes #668). added a similar check to avoid memory leaks in the active/inactive system.