LPS-32236 Console errors thrown when emptying the Recycle Bin

Conflicts with master resolved.