I feel a little embarrassed to ask this. I woke up and realized that I had a wet dream and I needed to perform ghusl (released semen). I did not have enough time to do ghusl so I prayed fajr (without performing ghusl) because there was only 10 mins before sunrise. This never happened to me before and I was really embarrassed. Is my fast valid despite this?