Added a custom returnvalue to checkentityconnections,MakeSimpleArray