Fixed an error in rendering list pages.

The code to generate solr query used to fail when the seed has special
chars like :. Fixed it by spliting with maxsplit=1 and escaping special
chars before passing to solr.