Loophole being closed in school smoking policy