Fix `CollectionType::getPages()` Return All Types

Fix `CollectionType::getPages()` returning all Collection Typs as
opposed to the instance collection type.

- Adjust SQL Query to account for `ctID` column in `CollectionVersions`
  table
- Add additional INNER JOIN