Fixed issue with using nil instead of null.