Any action for default or misconduct of a sheriff, an undersheriff, detention center staff, or a deputy may be prosecuted against the executors or administrators of the sheriff.