@ -67,6 +67,7 @@ module Semantic
bounds.map { |b| boolean_or_numeric?(b) ? b.to_s : "'#{b}'" }
.each_with_index { |sb, index| statement.gsub!("$#{index + 1}", sb) }
statement.gsub!(/ LIMIT 1$/, '') # LIMIT 1 is useless!
statement
end