Fix some ternary operators inside #process_defined