cet.rb: delete unwanted records