Fixed direction caching problem in MCP230xx