Fixed creation unnecessary tables bug