Duplicate food entries when using Enter key

I consistently get duplicated entries when entering food items using only the keyboard. I find it quicker to enter using shortcuts like Alt-A, tab, and Enter on the Add to diary button. When I do that now, I get two entries for the item. The only way around it is to use the mouse to click on the Add to Diary button.