Fixed getAssociatedIdentities bug