Fixes 500 error on multiple file delete

changed from old items array to new fID array check

Fixes #943