Catch input errors on Branching Page

Bad input on branching pages shoudl get caught and logged so it canbe traced instead of just ending up a generic PHP error for the missing array key.