Maybe this should just be `["All", "Active", "Failed", "Completed"]` and you convert to lower case where necessary? (same for function names)