Fixed a binary variables to work correctly together.