Solves the truncated tags problem