MAGMA-250 deleteVariableBinaryValues fixed and entities cache updated after all variables have been deleted