Fixing troubles with scopes in the regularcourse and the user_regularcourse models