Delete an unnecessary block for stub_record