Include post_type when finding an action

To avoid possibly conflicts and ignore any scheduled actions added
with the old 'scheduled-task' post type.