Population mysteriously spawning in invasions

It seems that If you invade with workers in the fleet the target planets starts at maximum pop, when you get it to your control, even If you have less than that in the fleet.
The workers in the fleet remain there.

In general with a succeful invasion you can get some pop and soldiers on the planet as a gift. failed invasion calculates correctly.

Fixed in the pre-alpha.