Fixed some (L|R)Trim() bugs