Switch inSet validation to strict in_array() checking