DuettoUtils: Fix a boolean condition