I have followed the resolution advised in this issue report https://github.com/adaptlearning/adapt_framework/issues/511 and all works nicely now.