Correcting interval with command duration

Change-Id: I6c1b07160a5f81016cefa622a50fd61c8071170d