fix and expand getChanges functionality by proper filter support