There is often a genuine health reason behind the disruptive habit of constantly heading to the toilet throughout the night.