Fixed unintended find/replace bug with _to_obj replacing