Fix stripping of trailing '/' fro param value.
Also match variation in CSS class name just in case.
More robust parsing of descrption, better logging.