Make the check in shareItems instead