I used the same type you used for the active attribute, shouldn't that be a bool then as well?