Hmm... not sure what you mean by keeping both keyframes. Are the keys both on the same frame? Can you show a screenshot of the graph editor and/or timeline with both keys?