[PATCH 2/4] tuna: Replace "and or" with ternary