Issue #2992817 by RoSk0, johndevman, phenaproxima, tim.plunkett, yanniboi, alexpott: Layout builder cron errors when no cleanup required (cherry picked from commit 964372f5)