Made class tab show up conditonally