[#59] fixed persistent objects being removed when they should not

(also removed the reset function, as it's quite useless)