Simplify some expressions using the ? operator