Fix MIN/MAX aggregate functions with nullable arguments.