Fixed minor performance issue

From experience in programming python recently, I saw that it's faster to just redeclare the lists to []
(This is what @vreality originally had, so yes it is better)