This also reduces QML expressions like "model.AppPid !== undefined ? model.AppPid : 0".
mentioned in commit 9bbd7510