Multi Negative Bug Fix

When getting type a null pointer was caused due to the data being of
Types.Unknown and this not being tested for in switch
yes, because there is no Types.INTERVAL so it gets the id of Types.OTHER in its constructor