changes in returned investments logic

Signed-off-by: Vladimir Vidinliev <v.vidinliev@gmail.com>