Fix bug in migrating to BranchTicketService
Merged #183 "Fix bug in migrating to BranchTicketService"