Fix typo in median error message