Change AJAX search so that exact hits are always on top