Fixes bug on entity#account method