Fix exception on empty wager

Change-Id: I4494ddb143ad5867cec4221e0ae8afe00a5be8de
Merge "Fix exception on empty wager"