dfc: Fixed incorrect check of transaction order