Fixes search result splitting bug