- Make sure invalid filters return the correct errdef (invalid parameter). - Update test to validate the error-type - Touch up some errors and inline validateNetworkTypeFilter, which was only used in a single place. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>