Fix target field error if secured value is null