Gikk bort fra boolean asserts
(cherry picked from commit 2f83237)