All the changes to get the code into compliance with Marlin coding standards made UBL sick. This pretty much gets UBL back up and running.
Fix the logic change that happened when UBL got merged.