One more cogs fix
Applying Istvan's fix

--HG--
extra : source : f3a12b2da2ad2c8e2693c3ebfaf3c92334f89539
Merge pull request #179 from einhverfr/1.4

1.4 RC3 final fixes