Fix for #180

Fixes the issue reported in https://github.com/Quick/Quick/issues/180.