'Deselect all' doesn't deselect keyframes

On the edit page the 'deselect all' command deselects clips. However, if you have a keyframe selected (say an audio keyframe or a motion keyframe), that keyframe remains selected.
This is a problem. If I'm mixing some audio on a clip I'll 'deselect all' after I'm finished. Then I move on to the next task, which could be setting in and out points in another area of my timeline and hitting delete... except because the keyframes are still selected, it's those keyframes that get deleted, not the clip I was trying to delete. This can easily go unnoticed.
This is a problem. If I'm mixing some audio on a clip I'll 'deselect all' after I'm finished. Then I move on to the next task, which could be setting in and out points in another area of my timeline and hitting delete... except because the keyframes are still selected, it's those keyframes that get deleted, not the clip I was trying to delete. This can easily go unnoticed.