Fixed an issue with sticky post types.