from what I see, you have to use 6 calls in overall and restrict each call to meet your plan., say:
1) call all valid certificates, except lapsed and revoked certs. Move them to Issued certs folder.
2) call all lapsed issued certs
3) call all revoked certs
and so on. Basically each query should return only certs that should be placed in a specified folder, so you don't have to manage the folder content in further calls.
1) call all valid certificates, except lapsed and revoked certs. Move them to Issued certs folder.
2) call all lapsed issued certs
3) call all revoked certs
and so on. Basically each query should return only certs that should be placed in a specified folder, so you don't have to manage the folder content in further calls.