Fix for Strings class

FIx for getSimilarityLevel method which was returning 0 instead of a
correct similarity level in some cases