Fixed iml filtering issues