Fixed Issues - Exercice6

Fixed issue where returned list was wrong.