Runtime can reset the last command only if it didn't change since the query at the beginning of finish() Change-Id: I629f2d788e9bbaa17ca4e96b1a753f8131e32463