Fixed bug in optimised python spikequeue