Fixed several issues with Association base class and DIMSE encoding