VIVO-330 rank was not being set as type int