Fix formatting for search element.