Fix datum_t::drop_literals array case. Closes #2741
Merge branch 'next' into daniel_geo