Fix creation of liked resources without client-generated ids