Fix off-by-one error in date range
Improve legacy account parsing

Supports account groups with no type which can contain
child accounts of mixed types
Fix logic of --remove option

Now handles transactions which have entries in more than
one removed account