Set the default value in a validator after the required check

Fixes a bug where a non-required parameter set to an empty string was not set to null in the cleaned array.