Are you, perhaps, using a non-English keyboard layout? The Leonardo sends key codes (Shift 0x37) for the '>' character because that is the key code for the key that has '.' (unshifterd) and '>' (shifted). It is up to the software on the system receiving that key code to convert the key and shift to a glyph (character).
You can change the table in hardware/arduino/cores/arduino/HID.cpp to match your keyboard layout.