strip character returns when comparing old and new values in activesolr