fixed ordering

closes #896
My question was why do you use a minus sign in this line to handle the correct time?