Fixed an issue with string parsing that was causing failures in Protunity tests.