Fixed internal variables when before() return false.