Correction to where array in the list template