Fix expire and purge links

The add_query_arg() function strips out [] from params