Replacing binary with logical operator, fixes #26

Also resolves the issue: undefined method `&' for #<ActiveSupport::HashWithIndifferentAccess:0x007fa73d6cf138> (NoMethodError)
and broken tests
Merge pull request #27 from HeHStudy/26-undefined-method-bug

Replacing binary with logical operator, fixes #26