Fix $database->isAllInstallmentOnTime