PySDK CollectionReader can get empty collection.

Fixing a regression from refs #3706.