Fix documents filter