Fixed bug with missing parameter in RecordsRepository