Fixed functions for task tag manipulation.