Protect against nil tables.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@827 d5049fe3-3747-40f7-a4b5-f36d6801af5f