Fix redundant commands that were redundant.