Fixed bug where hidden columns are being shown when there are no entities