Fix reversed "if".  Closes: #448.