boolean primitive types could not be matched

Reported-By: Thierry Chantier