Fixes #542 #543 - issues with nesting CDATA tags

Remove filter on perpage as it is stored as an integer.