Fix double hook creation on update from version 2.4.0