Fix flatpages targets setting behaviour, like titles (fixes #216)