Fix for portal bug with NcWMS layers

Hopefully allows @danfruehauf to proceed with DoD