Corrected error in pluralize function