Fix condition for dropping empty memory series.