Searching By Page Attribute

Permalink
I have added 2 custom 'Page Attributes', 'Bedrooms' and 'Price' and have coded a custom search template so I have two drop-downs with values. I can get their ID's using getAttributeKeyID() correctly and the form submits a 'get' as
/index.php/search/?search_paths[]=&query=&akID[17][atSelectOptionID][]=1&akID[18][atSelectOptionID][]=500000&submit=Search
However, it will return all pages that have this attribute in the search results so it cannot not be searching on any of the values passed in the querystring.
Sorry I am not a php programmer and I cannot find anything that can help in this matter. I know it can be done see reference below, if anyone can point me in the right direction I would be grateful.

Reference: i.e.http://www.leiterrealty.com/index.php/rent/search/?sortBy=newest&am...

wingnut