Fix bug with relation alias name and caps