Fixes find functionality to find when Enter is pressed