DRILL-976: Fix extract second to return only second portion of interval; exclude hours, minutes
DRILL-995: Removed inner form (which is not allowed). Fixed NPE and URLs.