Fixed the SQL parsing of quest_template for 6.0.3