GEOMESA-234 handling ranges in the attribute strategy

I changed the method for checking range queries so that we will explicitly fail if somehow the literal ends up first.