Fixed SQL table missing error.