Fixed Conditionals Bug

Fixed bug on Conditional assignments for vars sex and ran