[BUGFIX] Solves correct detection of empty lists
Tag for TER