"Subdivision (a) does not apply to facilities that are designated as uninhabitable after July 1, 1989, due to fire or other health or safety conditions." . . . . .