Fix bugs when one bet could be created many times