Fixed an issue with validation of vouchercodes.