FREEPBX-8376 Fix bug on concerency checking