def cleanNumBeds(x):
    """
    This is a helper function to cleanup the number of physical beds
    """

    #All the valid values appear to be <= 6
    if float(x) <= 9:
        return x

    #replace those with 1 bed since that is 90% of all properties
    else:
        return 1