Improve decl detection in presence of QQs