Casting lottery to int makes it impossible to have e.g. 0.1 lottery size (which dewiki has)

The 0.1 was cast to int(0), resulting in no articles having AFT through lottery

Change-Id: Ide21ca48a9289981fe9d1364c5f8b855c8b8cee3
Merge "Casting lottery to int makes it impossible to have e.g. 0.1 lottery size (which dewiki has)"