Closes DaVinci#116 (closed).
Currently in such cases we store an array of nan with size 1. This implementation stores empty array with size 0. This way size indicates that there is not relation with added benefit of saving space by not storing nan.
To be tested with: DaVinci!895 (merged)