The Hammers thought they had scored a goal that could have dictated the entire landscape of the season.