refactor: Ensure findById returns null instead of an array when ID is null
#2168
| Job | Run time |
|---|---|
| 24s | |
| 22s | |
| 46s |
findById returns null instead of an array when ID is null
#2168
| Job | Run time |
|---|---|
| 24s | |
| 22s | |
| 46s |