Fix quote mismatch

An if statement had a mismatched single and double quote enclosing a string.