fix ha_enabled flag to return true/false value.

since instance.ha_enabled column stores Integer.