Add the parent_post parameter to the existing URL.

Before, '&parent_post=...' was being added. This was not appropriate if
pretty permalinks were being used.