Consider uniqueness in row and column in filterUnique

Speeds up search considerably.