Minor bugfix to check for null options.