Ruby version of FIND function now works when arguments are not strings