fix issues with tag - todo relationship