Fixed custom_search to not break upon characters like [
Merge pull request #115 from biola/custom_search_fix

Fixed custom_search to not break upon characters like [