Hoffenheim needed more luck - Nagelsmann