Use FileHistoryDao for checking existence of configurations.
Create method HistoryDao.hasOldRevision for easier checks.