The "Raise Weapon" keybinding does the opposite of what it should. When holding down the key, it lowers your weapon and releasing it raises it.
The "Optics Temporary" keybinding works fine except that it leaves your weapon up when you come out of the optics, which obviates its function somewhat.
This is how I believe it was intended to work:
Hold "Raise Weapon" - Raises weapon
Release "Raise Weapon" - Lowers weapon
Hold "Optics Temporary" - Raises weapon and looks through optics
Release "Optics Temporary" - Lowers weapon if "Raise Weapon" is not being held or moves out of optics and keeps weapon up if "Raise Weapon" is being held