Fix get_shares() - return even an empty array