Fix a hint insertion bug described by @redmunds

See: https://groups.google.com/d/msg/brackets-dev/TVtzFGa67u8/gOjoZXH8x-gJ