The signature is inserted when you create a new message/reply. At this point the identity is the default identity. If you then change the identity the signature is not changed. This signature may be inappropriate for the mail that you are creating.
The signature should be inserted when the mail is sent based on the identity selected at that time.