put back into its original condition vs put to rights

put back into its original condition

put to rights

How often have the words put back into its original condition and put to rights occurred in a corpus of books? (source: Google Ngram Viewer )