Fix method to trim series of data: if after trim the seria is empty, it has to be deleted to avoid unexpected behavior like described in ADAMATLAS-376
Fix method to trim series of data: if after trim the seria is empty, it has to be deleted to avoid unexpected behavior like described in ADAMATLAS-376