Former Hammer Josh Cullen netted a late consolation, yet it didn't impact the result as West Ham leapfrogged their opponents to rise to 17th.