Try reboot phone, PC, reinstall driver, also try another PC, or an older windows version.
If still doesn't work then try a much older EDL rom.
Thanks a ton! Rolling back to miui 9.5 worked for me. I am using Los 16 at the moment. I can't thank you and @saurabh6377 enough for your help. But yeah I'm very happy and elated at the moment. I am very grateful to @xaacnz as well for finding out this amazing loophole.