Change order of boolean so the latch is decremented all the time