Improved reset with delete by ids