Bug fix in after_create callback to handle the situation when

.. there are no prior records in the DB table