Fixed target inactive status default to 0 instead of NULL