#992 Fixed user role migration script