When I worked in an office I was the same way. If I hit a good stride by like 4-5pm, I would usually end up staying until 7-9pm. It's good to have bosses that recognize that 40 hours a week don't have to be at the same time every day to maximize productivity.