Update TableExists to be more scalable