BUG: Fix conditional for underlying price in io.data.options.

Refactor and regression test.