Fix casting bug in DbCorpusReader
Fix casting bug in DbCorpusReader

dynamic_cast to pointer will never throw but returns nullptr instead

evdmade01/alpinocorpus,rug-compling/alpinocorpus,evdmade01/alpinocorpus,rug-compling/alpinocorpus,rug-compling/alpinocorpus