Bug fix: Type error

On my machine, the use of None as the default type was resulting in an error.
Please update this if it can be reproduced on your end too