Callback checked too early