Fixed profile search display to not display empty spaces.