Updated to check for Collection & Paginator

This hasn't been tested other than trying it in code to check it works!
Changed || to OR
Merge pull request #6 from SiCoUK/patch-1

Updated to check for Collection & Paginator