Fixing the span of the last quote