Fixed improper column count when creating module view caches.