Fixed an unexpected behaviour related to the attack call.