Fixes bug with cart_coords LocalArray property.

Includes regression test.