Fixed bug when assigning a solution on a filtered list