Bug Fix: Not clearing array on modifying session