Filter out non-definitions in the line marker targets.