Please remove this useless check now or replace with an assertion.