Fixes handling of duplicate share access rule creation

Closes: bug 1274163
Change-Id: Id6d649dcf03c5be9ce6fd7204dfa725d59582412
Merge "Fixes handling of duplicate share access rule creation"