[Core] Fixed "int" default value skipped

Default value 0 was not ok as "!= null" test was "true" with int value =
0.

http://www.php.net/manual/en/function.is-null.php