Fix questions incorrectly being marked as auto-delete

Let's check for closed question before, we check for auto-delete questions. Questions that had not been yet closed were being marked as auto-delete.