Bug fix with QString Error

Added a few more string type conversions to the subsequent lines.