Added hasInteractive field to Subject model, fixed null pointer issues in term managment