Fixed the attribute filter