Fix for bug: Pressing Enter on top of results not going to right file