fix for datetime range attributes