Fixed bug that prevented limiting record-specific endpoints to their record type.