Core: Few fixes for previous commit.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into teste2