fixed CDB-463 When having a SQL applied and clearing it the applied wizard is set to default
Merge remote-tracking branch 'origin/feature/CDB-463' into release/2.1.3.5