Fixed bug#10588 - Search profile names with special characters break functionality.