Store whether a work item is the result of a longpoll or not in struct work and use it to help determine block changes directly from the work longpoll bool.