Q-Chem: properly handle unconverged SCF/geometry optimizations