Fixed bug reported by Mateusz about distributed create record