Court grants bail to PML-N MNA Javed Latif