Fixed cycle logging bug

The cycle type was not being saved for new cycles being logged.  Updated
the code to pass this value.