Fixes list indexing, clearing forms