fix for bug triggered by nonexistant referring customer numbers