Fixed a bug causing failure when user strings are empty.