Resolved the error during seed and db reset