Fix bugs w/expanding/compacting with empty base.