Fix previous commit (the filtered array was not used)