Make table exists method not suck so much