Well that was a stupid bug. "must begin before end"