Legislation closes a gap in patent protection