Nottingham Forest rode its luck before marking its first home game in the Premier League in 23 years with a 1-0 win over West Ham on Sunday.