Memory leak fix: Free internal copies of selections when done with reading