Remove incorrect assert

An assert was left over from refactoring. It was referencing a private
implementation object no longer available.