Fix for #1131
Merge pull request #1135 from aodn/Issue_#1131

Fix for #1131