Nifty Midcap 100 hits record high despite Sensex fall on geopolitical tensions