Fix false being interpreted as null in prefmanager