Fixed error where multiple shares couldn't be porovided.