Add ability to exclude on both scan and queue nodes.