Redundant attribute parameters have now the right location set.
Fixed failing unit test.