Segfault when clearing lists of size 1. Workaround for now always declare with larger size but should be addressed.