An error was still present while populating the input data structure.
Fixing some errors in tuning.