That was the problem I was facing when trying to index a entity with a nested type that could be `null`. And the method documentation is still valid as it returns an array in every case.