annotations table creation needs join on corpus_ref as well