Fix for multi markers not being replaced