Improved view reset logic for manual publish.