Port fix

This is included in https://github.com/david-crowder/supermarket/pull/2 and shouldn't be merged.