Filter: correction of a bad attributes handling in some error case when C_GetAttributeValue is called on an invalid handle (or fails).