Remove unnecessary characters from product name

The checks could be done more efficiently if required.