Fix records controller to also allow UUIDs