Fixed subject table, added active_subjects method to model