Whitelist/Blacklist Fix for renamed items

Only check on item type to avoid blocking renamed items.
Merge pull request #1 from rodeyseijkens/patch-2

Whitelist/Blacklist Fix for renamed items