Extra keyframes

I have a movie that ends at 810 keyframes. I had extra junk I deleted that went to 5,300 keyframes. I removed the frames by highlighting them and clicking on remove keyfrmaes but they still appear in the scene. Is there a way to get rid of them?

Do you mean that you couldn’t delete them?