Fixed deletion in sections with pagination not working properly