Fix problem where something in settings array is int 0

This is fix for validation problems when some of settings arrays constains integer 0 value. This is a bug in PHP:

    in_array('test', array('value' => 0))

returns `true`. Since option finding is strictly by string values solution is to add strict flag to `in_array()`.

Additionally, as I do not like to rely on iterated values (in all loops), I've added simple copy found value.