Fixed a possible data type bug in genetics_child_gene