ROLLBACK changes to swap.web: that was screwing up a perfectly well functioning algorithm