Aurora_Database::qview remove nested ternary operator

it seems some PHP versions have problems with
nested ternary operator