Fix a case reported by Ibrar Ahmed's review.