Fix race condition on the Custom Hash.