Changed warning message for duplicate shared to user.

References #715.