When a nonconforming structure is razed or destroyed by fire, or when it is proposed that work be performed on such structure such that more than 50 percent of the value of the structure is involved in such destruction or reconstruction, then the structure shall be brought into compliance with the requirements of the district in which it is located.