Issue #2031487 by fubhy, dawehner, pwolanin: When replacing the upcasted values in the request attributes array, retain the original raw value too.