Fixed the median function's odd number return expression.