Add more assert to check table pointer.