Fixed domain type filter, removed debug print.