Fixed the escaping issue - Negative values not being inserted

Hey Iain,

Fixed the negative values not being inserted issue.

Usman