Fixed new FriendlyId behavior for version 5 on rails 4