BUGFIX: hasCheckedOption not working as expected

each() loop was returning booleans, causing the loop to misbehave