Thank you all.
I checked that the preservative I used, euxyl® K 940 from Schülke Inc, has maximum temperature 100C and I heated the water phase only to 75C. I guess it would be fine then.
I will keep in mind to add preservative after the mixture cools down just in case. Thank you.