Handle exception while searching in tags cloud using an invalid regex pattern in "seachDatabase" component.

Closes #209.