Refined logic for dynamic column loading