Removed unneeded check for variants