Corrected the randomisation on startup.