Prevent image filter duplication. Fixes #270