Fixed a bug in attribute change filter
Postpone scannig, to avoid race conditions