Better error handling when we get bad post data from related_data.