added and fixed resumable task check for semantic markup / matrix
generation