Fixed a coin flip bug.