Fix reset of boolean properties

Change-Id: I4dbf905a4aa7e0df53a4e894748d40c77e9fe787
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>