Fix various problems with application tags: - throw expected BadTag exception instead of BadProgramInfo, if tag is not compatible - skip default tags of online segment for applications from other segments - when select default tags from a segment, stop on tags defined by closest segment