Fixed MalformedParameterizedTypeException in FlagService lookups