Fix bug in revert for fixed columns