@timgraham 
I have added a test case related to this, that might just do the job.