Replacing binary with logical operator, fixes #26

Also resolves the issue: undefined method `&' for #<ActiveSupport::HashWithIndifferentAccess:0x007fa73d6cf138> (NoMethodError)
and broken tests