Fix uploads config validation