Changed to find by id instead of using .first and .last

https://github.com/ManageIQ/manageiq/issues/200
Fixes #200
Merge pull request #205 from mkanoor/miq_issue_200

Changed to find by id instead of using .first and .last