TfL: Near-miss was our fault