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

https://github.com/ManageIQ/manageiq/issues/200
Fixes #200