Fixed normal user n+1 queries
Fixed some N+1 queries
Fixed bug in constraint checker
Removed useless attributes from stuent program