Fix a hint insertion bug described by @redmunds here https://groups.google.com/d/msg/brackets-dev/TVtzFGa67u8/gOjoZXH8x-gJ