fixes issue #4326

https://support.astron.nl/lofar_issuetracker/issues/4326