It's probably because you set default value of argument to `''` instead of default `null`.