Cleanup and order preservation in cached notebook list