Added logic for filters for same attribute with different values.