Fixed filtering of unknown input type issue #31

@nhaarman