Fixed condition constains operator with wrong data type

"contains" operator on wrong data type should not cause NoMethodError. As it is right now.