Flex: do not link to objectives that do not exist