No need to worry. If needs be, you simply need a reference to account for your whereabouts for any gap periods. I can't remember the criteria for such a reference but not being a relative or an employee at the company you are joining, were two criteria that I can recall off the top of my head.