Fixed target inactive status default to 0 instead of NULL
Merged with upstream master