Fix get method to quote ids