Fixed minor bugs with contributions endpoints