Removes redundant -endsWith: method on NSString