[rubis] (change:major) Moved deletion of entities in a separate function: before initialize entities we have to delete them