If my wiki has a "Category:Whatever" page (title => Whatever, namespace => Category) containing whatever AND a "Whatever" page without a namespace, the extension treats both as being "Whatever" pages and only returns the last page ID, which isn't always the correct one. I have fixed this problem crudely by adding a condition where page_namespace must be null or 0, but it isn't a solution to the issue.