Fixed the has many pages relation - thanks Tenzoru