Fix warnings and simplify LikeFunctions
Fix LIKE for values with multiple lines
Optimizations for row_number() window functions