Update function that removes opposite filters to work with need_approval filter

3 jobs for fix/update-pending-status in 5 minutes and 44 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #143349
build

00:03:29

 
  Test
passed #143350
lint

00:01:52

passed #143351
test

00:02:15