Added check for quests data to avoid warning