Fix bug in list recording