Changed a function that casued 503 error in a detail view.
Merge pull request #33 from YetiForceCompany/developer

Changed a function that casued 503 error in a detail view.