Fixes a problem when the first field searched for is not a string
Added logic parameters for the ifEs* components (fixes #23) + version 1.0.1