Make parse_bucket use standard convert_type_error method

Previously was using custom code to do the same thing
as convert_type_error, probably forgot to change it.