Fixed the terrible performance of ModListInput