Nivekk/KOS — pull request #231 by a1270 (2013-11-14 05:16:11+00:00)
Title: Fix #224.

This seems to get the expected results without breaking anything.