Ignore Pages in trash

This quick fix ignores pages in trash when uploading