I couldn't get it working with custom post type.
I saw that the $post_type variable was empty on the lines 305, 320, 335, and 344.
I changed to $settings['custom_post_type']. Now it works, do you think it's the best way to fix it?
Thanks for the plugin its amazing!