changing the grouping on Policy id to accomodate heroku which needed a string