Update changesex.lua

Fixed a small bug