Implemented scope filtering for attributes