Fixed Options Lookup.

Fixed bug with options table and index.