Fixed bug in validation of preprocessed values