getlantern/lantern#1766 Fixed application of flags