Fixes List object annotated with AnyElement