Fixed bug where filtermodule fails if no img tags