Bug Fix #4086

Before, the QueryWindow was also not checking for the DROP TABLE sql statements. That's fixed too.