Avoid NullPointerException when the variant study type is null