Checking rec numbers before and after deleting