Fixed a bug where options could be read under the nil case.