We should also test that it trims correctly if there's more than one entry at the same time.