in response to issue #7. Not sure why this wasn't the original behaviour, nor how I hadn't noticed it earlier