Improved list detection