Fixed bug in the implementation of isLowerCase & isUpperCase when applied to strings.