Weather changes to clear after sleeping with doWeatherCycle set to false
If doWeatherCycle is set to false, sleeping in a bed still changes it to clear weather if it was raining (or thundering).
This is unexpected as you don't want weather to change when you set that gamerule to false.