Handle empty strategy id.

Can you take a look?