Remove extra commas in empty error message