The ukip winning of seats is quite predictable. It is common that when a person swithced party affiliation that that person will be re-elected at a by-election and at the next election it will revert to the original party. These things are quite common place.