Update NOT check to in query.Q to use True=NOT()