I am trying to use the overload for AFCase.FindCases with a start and end date and max count arguments to find cases within a time range and then looping through each case and using the RemoveCase method for the AF analysis which they belong to. Since I don't know how many cases there are I set the max count to a value like 25 and on the first call to find cases it returns 25 rows which I remove and then do a check-in. I then loop around again and try to use the Find Cases method with all the same values for the arguments. On the second attempt it does not find any cases, yet I know there are still are cases within that time frame. If I stop and restart the application using the same values for the arguments it finds cases on the first call to AFCase.FindCases, but not on the 2nd pass after removing the cases and performing a check-in. What am I doing wrong?