Fixed ArrayList from clearing itself twice.