Rearrange the databaseCompare command