bugfix to handle lists that need to be treated as sets of tuples - as the real messages are.