Fixed the strict comparison for booleans