Make sure we return int for associations in all cases