logical_enddate should not return a datetime, rather a date, to be compatible in arithmetic operations with role start/end dates; broken in 9f5c9a8d68ea85d2af7f474eb8d7897e4998245e