Depends on the state of the game. A baddie could be looking for you or a goodie might be trying to hide behind your role. Try to judge who has the most to gain by claiming your role. If the baddies have a spy they might be trying to claim your role right before taking you out but they are more likely to claim it after taking you out.
In this case since flame was already in trouble I might guess that he was making a last ditch effort to save himself AND trying to find out who was actually that role. If his claim saved him great if not then his getting you to counter gets the baddies some more info.
Not necessarily bad that you did counter, just wait to see how it plays out. While trying to win just remember to try to have some fun too.