Cast flag to bool - BooleanField doesn't do it for us