extractKGPgenotypes.py bug fix