Close #386
Makes way to check if study records are published/archived that are using this teacher.