@Niels ,
you can implement a function is called IsInstance…
to solve the issue regarding list or single item
KR
Andreas