Bugfix to string assert