Fix bug with empty collections in parseIdentify