Fixed issue with User.search returns an object in the latest build, but doesn't crash with v0.3.x branch.