Fixed cleaninginterval idx bug.