Fix two wrong conditionals.