Support for handling branches with more than 2 options