Fix bug in call recognition