Improve assertion.