Adding semicolon in str_replace to fix issue with serializedStrReplace

As reported in an issue, serialized data was getting replaced and not followed up by the appropriate semicolon. This should take care of that.