`ent assign` and maybe other commands needlessly read the database twice