Fixed getNextCA ctime to use array format