This is a pretty long line of code (same with L52), maybe the ternary operator is inappropriate. You can also collapse `if goodElements && goodElements.indexOf(codedEntry.id)` into `if goodElements?.indexOf(codedEntry.id)`.