Fix bug where exchange_string has more than 5 parts resulting in error

In my case I had a variable exchange_string in exchanges_string that had this value:

"All Messages fanout true false []"

As this string gets split based on whitespace this results in 6 parts which then are assigned to only 5 variables which makes the code crash.