optimize history search (invoice rending time for svc_ records with tons of changes...