Thermal Instability for Convection in Astrophysical Plasmas