LPS-33311 fix bug with duplicate names in trash handlers