Fixed an overly restrictive assertion.