Closes #2103 - Handling Rison exception for malformated urls
If we get an error then we will clean it up and replace it with the defautls
Merge pull request #2173 from simianhacker/fix-2103

Closes #2103 - Handling Rison exception for malformated urls