A. Nothing in this ordinance shall be deemed to prevent the strengthening or restoring to a safe condition of any building or part thereof declared to be unsafe by any official charged with protecting the public safety, provided such construction costs do not exceed 50 percent of its replacement cost. B. If two or more lots or combinations of lots and portions of lots with continuous frontage in single ownership are of record at the time of passage or amendment of this ordinance, and if all or part of the lots do not meet the requirements established for lot width and area, the lands involved shall be considered to be an undivided parcel for the purpose of this ordinance, and no portion of said parcel shall be used or sold in a manner which diminishes compliance with lot width and area requirements established by this ordinance, nor shall any ordinance of any parcel be made which creates a lot with width or area below the requirements stated in this ordinance.