Fix enter key selection not working

Discovered that the "enter" key selection was not working. This should fix the problem.