Fixed bug on search with enter