Apply bug fix supplied by Greg Pettyjohn for a bug he found: '<invalid>' is not...