Fixes null check in recycle bin repo