Minor change for hint command.

Made the check for KAOS questions more robust.