i've written a fix and submitted the code for peer review.
https://github.com/adaptlearning/adapt_framework/issues/1255