This issue is not the same as #8. There is a situation where a module can be installed after another module but still loaded by the ushahidi system before the previously installed modules. This is because there is no explicit 'order by' clause and we ended up using the MyISAM default ordering.
One work around for this is manually swapping names of some plugin in the plugins table that comes after the decayimage module.