Fix error on user-defined restangular fields