Add filter to member widget class invalidation function.