Switched to use the new tableExists method