MDL-50391 format_singleactivity: fix activity_has_subtypes()