Make sure jail template progress is an integer

Ticket:	#2452