Changed handling of ItemRemoved event in IMPState.cs

Now uses a predicate for shorter code