Fixed a bug where None was not allowed