Fixing RedBean_Facade::transaction $depth issue.