Console returns a number, .search deals in string.
Merge pull request #147 from volusion-angular-themes/29361-optimize-urls

Console returns a number, .search deals in string.