now properly check for APPLICATION_DATA record type