Hp oa plugin fix, and border case for position plugin fixed as well.

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-vi4m/builds/116