added default scopes for task and priority models