Fix crashing and spacing for updated search styles