Updated CommandHistory to ignore zoom and search inputs