Fixed dup display of records (bug introduced by previous commit).