Fix unchecked original-query checkbox application logic
Fix unchecked original query checkbox application logic