Added hook to filter relationship post types