Fix a problem on "share with users" functionality