Fixed bug with history tag not being saved nor returned with the right TagType
Implementation for backend services