Refactored tag saving.  No more calls to last(). media type saves correctly now.
Merge branch 'hotFix'