That check was inefficient, let's use primaryArgument
EnumUtils doesn't return null by default