Fix issues with .string() and .abbrev() methods returning wrong values. Fixes #659