Quest Scripts not working in pre patch

Since the pre patch I have been unable to use the scripts to check if I have completed a quest.

Example: /run print(IsQuestFlaggedCompleted(6145))

Is there a new format or this just broke?