Bugs fixed related to the getList algorithm