BUG: Fix negative axis insert (issue 3494)

This fix was still missing in master (it is in 1.8.x, it maybe should still be backported to 1.7.x which seems not be in there yet, the correct commit for backporting are 79b094e and c57c417 -- the first here won't apply, since it is slightly different)