Fixed issues with Wipe Effect where it is changed from default duration

Number of pulses was allowed to be set to 0 which would cause a divide
by 0 exception.