[TW295] - Core/Scripts: ToC5 - Fixes crash introduced with https://github.com/TrueWoW/TrinityCore/commit/6bd36d394e5b120421c8ce6b893d90a29591089b

Needs to be further investigated why the data is returning a null value