Redmine 6541 - Remove unexpanded lists when extending lists

Debug code. This shouldn't be here for normal test running.