Added null checks for objects before sending bytes in SWGList