Fixed Bug in addCallback Helper

Fixed an issue that would affect adding multiple callbacks for before and after at the same time.