Fixed an 'invalid api key' interval bug.