better tray population handling (bug 867472)