Check for a proper exception before running WebApiActionFilter