added type casts to sum baskets in postgres catalog recipes