Fix for deleting records
Merge remote-tracking branch 'origin/master'