Nothing in this chapter shall prevent the restoration of any structure or use to a safe or sanitary condition, nor shall this article prevent regular maintenance of any nonconforming use or structure.