Gonna disagree, rule of cool is the deciding factor between the RAI vs RAW interpretations.
I wouldn't say it's RAI, spells or abilities meant for inanimate objects typically don't include undead under colloquial interpretations but it is definitely RAW using very technical interpretations.