FIX: invalidate query conditions and dropdown lists after scan

fixes #3