Fixed #993: Bug - Inconsistent data in database for created_by field from customers
Small fixes