Using any non-existing entity id with get3DENEntity returns -1 instead of objNull.
This has been happening ever since the Eden commands that returned nothing on failure were fixed to return a value in some patch a long time ago.
No idea if other 3DEN commands are similarly bugged.
get3DENEntityID objNull returns -1
get3DENEntity -1 returns -1, it should return objNull obviously since the command is meant to return an object