Fix for ISSUE#4

...into recursion Which was a CI::DBresult and hence was iterating for each propery causing error. ISSUE#4