FIX: pending_files properly checking if a file is already in the grid queue