Maybe fix problems with scheduling multiple branches