OCSADV-170: Fixed wrong error message being used for QPT.