fixes #1509
Merge pull request #1525 from aodn/issue-1509-3

fixes #1509