fix student record registrations scope condition and major restriction problem