Fixing delayed job lookup bug on update