[Fixing] Added a share condition
Merge pull request #500 from MGhanem/Salma_Fix

[Fixing] Added a share condition