I think your plan should work. Multiple visa doesn't require people to stay at another country longer than Canada in order to re-entry the board.
The example which didn't work is every strange and could be the officer didn't understand the rules. Otherwise, people cannot use it to visit Cuba and come back.