#402 Fixed migrations attempting to keep changing values

Fixes #402 @relaxnow, would you review this?