Fixes constraint in all_white function